package com.leyou.second.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * TODO
 *
 * @Classname: [ SkusDto ]
 * @Date: [ 2020/11/17 15:55 ]
 * @Author: by [ g_s ]
 * @Version: [v1.0]
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SkusDto {
    private Long id;
    private Long spuId;
    private String title;  // sku标题
    private String images;
    private Long price;  //原价
    private Long discount;  // 折后价
    private Integer stock;  //库存
    private Integer destock;  //原库存
    private String ownSpec;// 商品特殊规格的键值对
    private String indexes;// 商品特殊规格的下标
    private Boolean enable;// 是否有效，逻辑删除用
    private Date createTime;// 创建时间
    private Date updateTime;// 最后修改时间
}
